package cn.lcvc.xnc.authority.model;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 角色关系表
 */
@ApiModel(value="账户和角色关系实体")
@Data
@NoArgsConstructor
public class SysUserRole implements java.io.Serializable{
    private SysUser sysUser;
    private SysRole sysRole;
    private Date createTime;//创建时间，由系统自动生成

    public SysUserRole(SysUser sysUser, SysRole sysRole) {
        this.sysUser = sysUser;
        this.sysRole = sysRole;
    }
}
